<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
  <div class="container">
    <a class="navbar-brand" href="index">博客</a>
    <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
      菜单
      <i class="fas fa-bars"></i>
    </button>
    <div class="collapse navbar-collapse" id="navbarResponsive">
      <ul class="navbar-nav ml-auto">
        <li class="nav-item">
          <a class="nav-link" href="index">首页</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="list">文章</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="login">登陆</a>
        </li><li class="nav-item">
          <a class="nav-link" href="register">注册</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="admin/editor">发表</a>
        </li>
      </ul>
    </div>
  </div>
</nav>